package com.example.demo.service.Impl;

import com.example.demo.dao.EnterpriseUsersMapper;
import com.example.demo.pojo.EnterpriseUsers;
import com.example.demo.pojo.IndividualUser;
import com.example.demo.service.EnterpriseUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EnterpriseUsersServiceImpl implements EnterpriseUsersService {
    @Autowired
    private EnterpriseUsersMapper enterpriseUsersMapper;

    @Override
    public EnterpriseUsers loginInfo(EnterpriseUsers enterpriseUsers) {
        return enterpriseUsersMapper.loginInfo(enterpriseUsers);
    }

    @Override
    public int addEnterpriseUsers(EnterpriseUsers enterpriseUsers) {
        return enterpriseUsersMapper.addEnterpriseUsers(enterpriseUsers);
    }

    @Override
    public int updateEnterpriseUsers(EnterpriseUsers enterpriseUsers) {
        return enterpriseUsersMapper.updateEnterpriseUsers(enterpriseUsers);
    }
}
